﻿/*
 *
 * User: inffbr
 * Date: 10.03.2011
 * Time: 13:32
 * 
 */
using System;
using System.Xml;

namespace ThatsMeSDK.Exceptions
{
	/// <summary>
	/// A native ApiException
	/// </summary>
	public class ApiException : Exception
	{
		public int Id{get; private set;}
		public XmlDocument XmlData{get; private set;}
		
		public ApiException(int id, string message, XmlDocument data) : base(message)
		{
			this.Id = id;
			this.XmlData = data;
		}
	}
}
